package cn.example.zjgsu.pojo;

import java.io.Serializable;

public class FoodAndShop implements Serializable {
    private Food food;

    private Shop shop;

    private static final long serialVersionUID = 1L;

    public Food getFood() {
        return food;
    }

    public void setFood(Food food) {
        this.food = food;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    @Override
    public String toString() {
        return "FoodAndShop{" +
                "food=" + food.toString() +
                ", shop=" + shop.toString() +
                '}';
    }
}